<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Duizhao/index')}">列表</a></li>
        <li class="active"><a>编辑</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Duizhao/editPost')}">
        <div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 牌号:</label>
    <div class="col-md-6 col-sm-10">
            <select name="grade_id" class="form-control">
                <option value="">请选择</option>
                                 <volist name="grade_id_arr" id="ao">
                    <option  <if isset($vo.grade_id)&&$vo.grade_id==$ao.id>selected </if> value="{$ao.id}">{$ao.g_name}</option>
                    </volist>
                            </select>
    </div>
</div><div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 钢种:</label>
    <div class="col-md-6 col-sm-10">
            <select name="steel_grade_id" class="form-control">
                <option value="">请选择</option>
                                 <volist name="steel_grade_id_arr" id="ao">
                    <option  <if isset($vo.steel_grade_id)&&$vo.steel_grade_id==$ao.id>selected </if> value="{$ao.id}">{$ao.name}</option>
                    </volist>
                            </select>
    </div>
</div>        <div class="col-sm-offset-2 col-sm-10">
            <input type="hidden" name="id" value="{$vo.id}"/>
            <button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
            <a class="btn btn-default" href="{:url('Duizhao/index')}">返回</a>
        </div>
    </form>

</div>
<script src="/static/js/admin.js"></script>
<script src="/static/js/layer/layer.js"></script>
<script>
    {
        $jsTpl
    }
</script>
</body>
</html>